package com.bmadmin.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.bmadmin.domain.ZcrkDomain;
import com.bmadmin.mapper.ZcrkDao;
import com.bmadmin.service.ZcrkService;
@Service
@Transactional
public class ZcrkServiceImpl implements ZcrkService {
	@Autowired
	ZcrkDao zcrkDao;
	
	public List<ZcrkDomain> getRkList(Map map){
		return zcrkDao.getRkList(map);
	}
	
	public int insertZcrk(ZcrkDomain zcrk){
		return zcrkDao.insertZcrk(zcrk);
	}
	
	public int AddZcSl(String zc_bm, String zcrk_sl){
		return zcrkDao.AddZcSl(zc_bm,zcrk_sl);
	}
	
	public int DelZcSl(String zc_bm, String zcrk_sl){
		return zcrkDao.DelZcSl(zc_bm,zcrk_sl);
	}

	public int updateZcrkYxbz(String zcrk_id){
		return zcrkDao.updateZcrkYxbz(zcrk_id);
	}
}
